package cn.com.dhcc.turbo.entity.registry;

import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiNotDbColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

/**
 * 监控指标表turbo_monitor_quota
 * 
 * @日期：2014-6-12 下午2:55:13
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "turbo_monitor_quota")
public class MonitorQuota extends ModuleFeatureBean {
	@SiColumn(isId=true)
	private String id; // id
	private String name;// 指标名称
	private Date mtime;// 修改时间
	private String remark;// 备注
	@SiColumn(name = "quota_group")
	private String quotaGroup;// 指标分组 1 节点监控 2 通道监控 3 流量监控 4 结构化交换监控5 非结构化交换监控
	@SiColumn(name = "rule_for_select")
	private String ruleForSelect;// 用于选择的使用规则选项，逗号隔开
	@SiColumn(name = "value_sug1")
	private String valueSug1;// 建议值1
	@SiColumn(name = "value_sug2")
	private String valueSug2;// 建议值2
	private String code;// 指标编码
	private String alterable;// 是否可告警的，不能告警的不要进行阈值配置0 否1是
	private String modifiable;// 是偶可配置0 否1是
	@SiColumn(name = "rule_sug")
	private Integer ruleSug;// 建议的规则编号
	@SiColumn(name = "alter_template_sug")
	private String alterTemplateSug;// 默认的告警模板
	private String owner;// 指标归属：1节点2系统
	@SiColumn(name = "alter_pipeline")
	private String alterPipeline;// 告警通知规则（多个逗号隔开）：1 邮件通知管理员 2 邮件通知系统管理员 3 告警音.
	private String status;//状态0 停用 1启用
	@SiNotDbColumn
	private String ruleName;//告警条件名称
	@SiNotDbColumn
	private String value1;//用户定义值1
	@SiNotDbColumn
	private String value2;//用户定义值2
	@SiNotDbColumn
	private String confId;//用户定义指标表id
	
	public String getValue1() {
		return value1;
	}

	public void setValue1(String value1) {
		this.value1 = value1;
	}

	public String getValue2() {
		return value2;
	}

	public void setValue2(String value2) {
		this.value2 = value2;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getMtime() {
		return mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getQuotaGroup() {
		return quotaGroup;
	}

	public void setQuotaGroup(String quotaGroup) {
		this.quotaGroup = quotaGroup;
	}

	public String getRuleForSelect() {
		return ruleForSelect;
	}

	public void setRuleForSelect(String ruleForSelect) {
		this.ruleForSelect = ruleForSelect;
	}

	public String getValueSug1() {
		return valueSug1;
	}

	public void setValueSug1(String valueSug1) {
		this.valueSug1 = valueSug1;
	}

	public String getValueSug2() {
		return valueSug2;
	}

	public void setValueSug2(String valueSug2) {
		this.valueSug2 = valueSug2;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAlterable() {
		return alterable;
	}

	public void setAlterable(String alterable) {
		this.alterable = alterable;
	}

	public String getModifiable() {
		return modifiable;
	}

	public void setModifiable(String modifiable) {
		this.modifiable = modifiable;
	}

	public Integer getRuleSug() {
		return ruleSug;
	}

	public void setRuleSug(Integer ruleSug) {
		this.ruleSug = ruleSug;
	}

	public String getAlterTemplateSug() {
		return alterTemplateSug;
	}

	public void setAlterTemplateSug(String alterTemplateSug) {
		this.alterTemplateSug = alterTemplateSug;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getAlterPipeline() {
		return alterPipeline;
	}

	public void setAlterPipeline(String alterPipeline) {
		this.alterPipeline = alterPipeline;
	}

	public String getConfId() {
		return confId;
	}

	public void setConfId(String confId) {
		this.confId = confId;
	}

	@Override
	public String toString() {
		return "MonitorQuota [id=" + id + ", name=" + name + ", mtime=" + mtime
				+ ", remark=" + remark + ", quotaGroup=" + quotaGroup
				+ ", ruleForSelect=" + ruleForSelect + ", valueSug1="
				+ valueSug1 + ", valueSug2=" + valueSug2 + ", code=" + code
				+ ", alterable=" + alterable + ", modifiable=" + modifiable
				+ ", ruleSug=" + ruleSug + ", alterTemplateSug="
				+ alterTemplateSug + ", owner=" + owner + ", alterPipeline="
				+ alterPipeline + ", status=" + status + ", ruleName="
				+ ruleName + ", value1=" + value1 + ", value2=" + value2
				+ ", confId=" + confId + "]";
	}
}
